﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Loki.Model
{
	public abstract class SubEntity<TParentEntity, TModelType> : Entity<TModelType>
		where TParentEntity : Entity<TModelType>
	{
		public TParentEntity Parent
		{
			get;
			private set;
		}

		public SubEntity(TParentEntity P_Parent)
		{
			Parent = P_Parent;
		}

		public SubEntity(TParentEntity P_Parent, SubEntity<TParentEntity, TModelType> P_Clone)
		{
			Parent = P_Parent;
		}
	}
}
